BasicluBasisFactorization
A host BASICLU basis whose factors follow a column replacement until BASICLU declines the update.
Functions
replaceColumn
open override fun replaceColumn(column: Int, entering: F64SparseVector): F64BasisFactorization(source)
Replace column of basis with entering and return the factorization of the resulting basis, which supersedes this factorization.
column must name a column of basis, and entering must have length n.
Link copied to clipboard
Solve B x = b, or Bᵀ x = b when transpose, into a fresh result.
Link copied to clipboard
open override fun solveInto(b: DoubleArray, out: DoubleArray, transpose: Boolean = false, workspace: Workspace? = null): DoubleArray
Solve B x = b, or Bᵀ x = b when transpose, into out, which is returned. Allocates nothing when given a workspace. out may be b.